package com.dingxin.ship_together_api.entity.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Author: ctj
 * Date: 2022-09-19
 * Time: 15:30
 */
@Getter
@AllArgsConstructor
public enum OrderStatusEnum {

    /** 待支付*/ WAIT_PAY(0,"待支付"),
    /** 已支付*/ PAYED(1,"已支付"),
    /** 出行中*/ TRAVELING(2,"出行中"),
    /** 已完成*/ FINISHED(3,"已完成"),
    /** 已取消*/ CANCELED(4,"已取消"),
    /** 超时未支付*/ PAY_TIME_OUT(5,"超时未支付");
    /**
     * 状态码
     */
    private Integer code;
    /**
     * 状态信息
     */
    private String status;
}
